package com.opc.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "gun")//application.xml文件
@Data
public class GunProperties {
    private String gun1;
    private String gun2;
    private String gun3;
    private String gun4;
}
